<?php


session_start();

require "include/template2.inc.php";
require "include/beContent.inc.php";
require "include/content.inc.php";

$main = new Skin("dipartimento");

$content = new Content($pageEntity);
$content->setTemplate("home");
$content->setParameter("page_section", 1);
$content->setOrderFields("position");
$content->setLimit(1);

$box = new Content($pageEntity);
$box->setParameter("page_section", 6);
$box->setOrderFields("position");
$box->setLimit(1);
$box->apply($content, "box");

$main->setContent("body", $content->get());
$main->close(); 


?>